package com.scm.persist.mybatis;

import com.scm.persist.model.ScmPurchasePayment;
import com.scm.persist.model.ScmPurchasePaymentExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmPurchasePaymentMapper {
    int countByExample(ScmPurchasePaymentExample example);

    int deleteByExample(ScmPurchasePaymentExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmPurchasePayment record);

    int insertSelective(ScmPurchasePayment record);

    List<ScmPurchasePayment> selectByExampleWithRowbounds(ScmPurchasePaymentExample example, RowBounds rowBounds);

    List<ScmPurchasePayment> selectByExample(ScmPurchasePaymentExample example);

    ScmPurchasePayment selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmPurchasePayment record, @Param("example") ScmPurchasePaymentExample example);

    int updateByExample(@Param("record") ScmPurchasePayment record, @Param("example") ScmPurchasePaymentExample example);

    int updateByPrimaryKeySelective(ScmPurchasePayment record);

    int updateByPrimaryKey(ScmPurchasePayment record);
}
